package game.players.cpu.teammate;

import com.uqbar.vainilla.appearances.Sprite;

import game.players.SoccerPlayer;
import game.players.states.IdlePlayer;

public class IdleCPUMate extends IdlePlayer {

	public IdleCPUMate(SoccerPlayer player) {
		super(player);
		this.getPlayer().setAppearance(Sprite.fromImage("/images/goal3_caminando2.png").crop(0, 1, 34, 65).scale(1.5));
	}

	@Override
	public boolean isRight() {
		return true;
	}
	
	@Override
	protected void changeState() {
		this.getPlayer().setState(new WithoutBallStationaryCPUMate(this.getPlayer()));
	}

}
